#ifndef ZRENDER_SYSTEM_H_
#define ZRENDER_SYSTEM_H_

#include "../Common/GlobalDefines.h"
#include "../Common/ZSingleton.h"
#include "MeshRenderer.h"
#include "PointCloudRenderer.h"

GLOBAL_NAMESPACE_BEGIN

class RenderSystem : public Singleton < RenderSystem >
{
public:
    RenderSystem();
    ~RenderSystem(); 

    void init();
    MeshRenderer* getMeshRenderer() { return meshRenderer_; }
    PointCloudRenderer* getPointCloudRenderer() { return pcRenderer_; }

private:
    void destroy();

private:
    MeshRenderer* meshRenderer_;
    PointCloudRenderer* pcRenderer_;
};



GLOBAL_NAMESPACE_END

#endif//ZRENDER_SYSTEM_H_